package ysq.xyg.service;


import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Question;

import java.util.List;

/**
 * @author yu sheng qiang
 * @create 2017-03-22 15:36
 **/
public interface QuestionService extends BaseService<Question> {

    /**
     * 分页查询
     */
    PageInfo<Question> pageInfo(Question question, int pageSize, int pageNum);

    public List<Question> list(Question question);
}
